package com.rongmai.db.mapper;

import com.rongmai.db.model.UserBusiness;

import java.util.List;

/**
* @author 张
* @description 针对表【user_business】的数据库操作Mapper
* @createDate 2024-03-10 10:59:48
* @Entity com.rongmai.db.model.UserBusiness
*/
public interface UserBusinessMapper {

    int deleteByPrimaryKey(Long id);

    int insert(UserBusiness record);

    UserBusiness selectByPrimaryKey(Long id);

    int updateByPrimaryKey(UserBusiness record);

    int updateByPrimaryKeySelective(UserBusiness record);

    void deleteByUserId(Integer userId);

    List<UserBusiness> queryByUserId(Integer userId);
}
